package com.wish.wishhouses_market.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 相册
 * </p>
 *
 * @author fanzijun
 * @since 2021-04-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_album")
public class TbAlbum implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 楼盘ID
     */
    @TableField("premises_id")
    private Integer premisesId;

    /**
     * 图片名称
     */
    @TableField("name")
    private String name;

    /**
     * 图片路径
     */
    @TableField("url")
    private String url;

    /**
     * 图片类型
     */
    @TableField("album_type")
    private Integer albumType;

    /**
     * 图片状态
     */
    @TableField("status")
    private Integer status;

    /**
     * 图片上传时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 上传人
     */
    @TableField("create_by")
    private Integer createBy;


}
